<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#if isTreated??>
                    <#if isTreated="treated">
                        <#assign moduleName="已处理快速贷款">
                            <#elseif isTreated="untreated">
                                <#assign moduleName="待处理快速贷款">
                                    <#else>
                                        <#assign moduleName="快速贷款管理">
                    </#if>
                </#if>

                <#include "banner.html">
                    <!--面包屑导航---}-->

                    <!--工具栏--{-->
                    <div id="toolbar" class="clearfix">
                        <div class="toolbor-module search">
                            <input type="text" name="realName" id="realName" value="请输入真实姓名" class="search-value">
                            <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                        </div>
                        <!--<#if isTreated??&&isTreated="treated">
                        <div class="toolbor-module search">
                            <div style="height: 22px; line-height: 22px; float: left;">状态：</div>
                            <div class="select-box" id="status">
                                <div class="tag-select">全部</div>
                                <ul class="tag-options">
                                    <li data-value="">全 部</li>
                                    <li data-value="1">审核通过</li>
                                    <li data-value="2">审核不通过</li>
                                </ul>
                            </div>
                        </div>
                     </#if>  -->
                    </div>
                    <!--工具栏--}-->

                    <div id="main" class="clearfix">
                        <form action="" method="post">
                            <table class="data-list">
                                <tr class="header">
                                    <td>ID</td>
                                    <td>借款金额</td>
                                    <td>借款期限</td>
                                    <td>联系方式</td>
                                    <td>真实姓名</td>
                                    <td>添加时间</td>
                                    <td>操作</td>
                                </tr>
                                <#import "../../common/function.html" as func>
                                    <#list list as item>
                                        <tr>
                                            <td>${item.id?c}</td>
                                            <td>${item.account?c}万元</td>
                                            <td>${item.timeLimit}个月</td>
                                            <td>${item.contact}</td>
                                            <td>${item.realName}</td>
                                            <td>${item.addTime!}</td>
                                            <#if item.status??&&item.status==0>
                                                <td><a href="${request.getContextPath()}/admin/borrow/verifyQuickLoan.html?id=${item.id?c}">审核</a></td>
                                                <#elseif item.status==1>
                                                    <td style="color: green;">已通过</td>
                                                    <#elseif item.status==2>
                                                        <td style="color: red;">未通过</td>
                                            </#if>
                                        </tr>
                                    </#list>
                            </table>
                        </form>

                        <!--底部工具栏--{-->
                        <div id="bottomToolbar" class="clearfix">
                            <div class="other-tool">
                                <dl class="refresh-data">
                                    <dt class="refresh-data-icon"></dt>
                                    <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                </dl>
                            </div>

                            <!--翻页系统--{-->
                            <div class="container s_formPage">
                                <#import "../../common/page.html" as pager>
                                    <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                            </div>
                            <!--翻页系统--}-->
                        </div>
                        <!--底部工具栏--}-->

                        <script>

                            var urls = '?search=true';
                            function sousuo(){
                                var sou = "";
                                var realName = $("#realName").val();
                                if (realName!=""&&realName!="请输入真实姓名"){
                                    sou += "&realName="+realName;
                                }
                                /*     var status = $("#status").find(".open-selected").attr("data-value");
                                    if (status!=null&&status!=""&&status!="undefine"){
                                        sou += "&status="+status;
                                    } */
                                location.href=urls+sou;
                            }
                        </script>
                    </div>
        </div>
    </div>
    <div class="mc-b"><#include "../foot.html"></div>
    <#include "../jsPage.html">
    </body>
</html>

